<template>
    <div>
        <CustomChild @sendParent="sendParent"></CustomChild>
    </div>
</template>

<script setup lang="ts">
import CustomChild from './CustomChild.vue';
const sendParent = (val: number) => {
    console.log(val)
}
</script>

<style scoped></style>